import axios from "axios";

export function request(config) {
  const instant = axios.create({
    baseURL: "http://127.0.0.1:8081/",
    headers: {
      "Content-Type": "application/json",
    },
    timeout: 8000,
  });

  return instant(config);
}
